package cn.bcsp.service;

import cn.bcsp.mapper.RoleMapper;
import cn.bcsp.pojo.SysRole;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: TODO
 * @author: wangyue
 * @date: 2021年07月16日 14:46
 */
@Service("roleService")
public class RoleServiceImpl implements  RoleService {
    @Resource
    private RoleMapper roleMapper;

    @Override
    public List<SysRole> queryAll() {
        return roleMapper.selectRoles();
    }
}
